
describe('practice-2-1', function () {

    beforeEach(function(done) {
       done();
    });

    it("use star selector to change all elements", function (done) {
        var v_1 = my_profile[0] === profile["姓名"];
        var v_2 = my_profile[1] === profile["学校"];
        var v_3 = my_profile[2] === profile["学号"];
        var v_4 = my_profile[3] === profile["专业"];
        var v_5_1 = logs[0].search(profile["姓名"]);
        var v_5_2 = logs[0].search(profile["学校"]);
        var v_5_3 = logs[0].search(profile["学号"]);
        var v_5_4 = logs[0].search(profile["专业"]);
        var v_5 = -1 < v_5_1;
        var v_6 = v_5_1 < v_5_2;
        var v_7 = v_5_2 < v_5_4;
        var v_8 = v_5_4 < v_5_3;
        expect(v_1 && v_2 && v_3 && v_4 && v_5 && v_6 && v_7 && v_8).toBe(true);

        done();
    });
});




